package com.open.base.utils;

import com.open.base.domain.BaseResponse;

public final class R {

    public static BaseResponse<Object> success() {
        return new BaseResponse<>();
    }

    public static BaseResponse<Object> success(Object data) {
        BaseResponse<Object> response = new BaseResponse<>();
        response.setData(data);
        return response;
    }

}
